home *** CD-ROM | disk | FTP | other *** search
- Path: mudskipper.cac.psu.edu!user
- From: fcusack@tdx.org (frank.)
- Newsgroups: comp.lang.c
- Subject: Re: gettimeofday() makes me mad !
- Date: Wed, 28 Feb 1996 11:19:24 -0400
- Organization: Soylent Green is People!!
- Message-ID: <fcusack-2802961119240001@mudskipper.cac.psu.edu>
- References: <4gnkth$4on@piston.ecp.fr> <4gu1ue$39m@news-f.iadfw.net>
- NNTP-Posting-Host: mudskipper.cac.psu.edu
-
- In article <4gu1ue$39m@news-f.iadfw.net>, alpet@airmail.net (Adam
- Peterson) wrote:
-
- >
- > >PROBLEM : I'm trying to make a little program which must repeat an
- > >action every .2 second for example ( less than 1 sec anyway). time()
- > >wouldn't fit, so I searched and found the function gettimeofday() in
- >
- > You are on a Unix system, any reason you are not using 'sleep'?
- >
-
- sleep only works in whole seconds.
-
- ~Frank
- -- I am Pentium of Borg. Division is futile. You will be approximated. --
- -- PGP ID: 1C0F6685 | NCB#56 | Visit me --> http://www.tdx.org/~fcusack/ --
-